package dao;

import java.util.List;

import org.hibernate.Session;

import po.EmpHistory;
import po.Employment;
import po.User;

public interface IEmploymentDao {
	public List findByHql(String hql);
	public Object findEmpInfo(int id);
	
	//传入用户id 搜索用户信息
	public Object findUserInfo(int id);	
	public void updateStatus(Employment emp);
	public Session getSession();
	public void deleteEmp(Employment emp);
	public void saveHistory(EmpHistory history);
}
